main_show=Falses="℃"if ord(s)<0x4e00 or ord(s)>0x9fff:            chr(0x9fff)   #超出汉字范围显示空框ili.fill(0xFFFF)ili.fill_rect(5,5,123,115,ili.brg(g=255))ili.textst('湿度:%-4s温度:%s度' % (weather['data']['shidu'],weather['data']['wendu']), 10, 1*13, ili.brg(r=255))ili.textst('Pm25:%-dPm10:%d' % (weather['data']['pm25'],weather['data']['pm10']), 10, 2*13, ili.brg(r=255))ili.textst('提示:%s' % weather['data']['ganmao'] , 10, 3*13, ili.brg(r=255))ili.textst('最高:%s' % weather['data']['forecast'][0]['high'], 10, 4*13, ili.brg(r=255))ili.textst('位置:%s' % weather['cityInfo']['city'], 10, 5*13, ili.brg(r=255))
ili.textst('指数:%s' % weather['data']['yesterday']['aqi'], 10, 6*13, ili.brg(r=255))
ili.textst('位置KEY:%s' % weather['cityInfo']['citykey'], 10, 7*13, ili.brg(r=255))
ili.textst('更新时间:%s' % weather['cityInfo']['updateTime'], 10, 8*13, ili.brg(r=255))ili.fill_rect(5,125,123,30,ili.brg(r=255))ili.textst('日出:%s' % weather['data']['yesterday']['sunrise'], 10, 10*13, ili.brg(b=255))ili.textst('日落:%s' % weather['data']['yesterday']['sunset'], 10, 11*13, ili.brg(b=255))print(ord("　"))ili.show()